import axios from "../utils/axios";

// 获取代标签的文章
export function getFinanceStat(date) {
    return axios.get('/finance/stat/'+date)
}

export function getFinanceDataByStock(stock) {
    return axios.get('/finance/stock/'+stock)
}

export function getTotalOperatingRevenue() {
    return axios.get('/finance/totalOperatingRevenue')
}

export function getRoe() {
    return axios.get('/finance/roe')
}
export function getIncTotalRevenueYearOnYear() {
    return axios.get('/finance/incTotalRevenueYearOnYear')
}

export function getAdjustedProfit() {
    return axios.get('/finance/adjustedProfit')
}

export function getNetProfitMargin() {
    return axios.get('/finance/netProfitMargin')
}

export function getGrossProfitMargin() {
    return axios.get('/finance/grossProfitMargin')
}

export function getLiabilityOnAssetRatio() {
    return axios.get('/finance/liabilityOnAssetRatio') 
}